package com.spring.demo12.eg1;

import com.spring.demo12.processing.AbstractEvent;

/**
 * 用户注册类，继承事件对象AbstractEvent
 *
 * @author vhans
 */
public class UserRegisterSuccessEvent extends AbstractEvent {

    private String userName;

    public UserRegisterSuccessEvent(Object source, String userName) {
        super(source);
        this.userName = userName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }
}
